/**
 * @filename:Department Dec 11, 2023
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(车间实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_department")
@ApiModel(value="t_department对象", description="车间表")
public class Department extends Model<Department> {

	private static final long serialVersionUID = 1702271066812368L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "主键")
    private Long id;
    
    @TableField(value = "FDEPTID") 	
	@ApiModelProperty(name = "FDEPTID" , value = "部门内码")
    private Long FDEPTID;
    
    @TableField(value = "FCREATEORGNO") 	
	@ApiModelProperty(name = "FCREATEORGNO" , value = "创建组织编码")
    private Long FCREATEORGNO;
    
    @TableField(value = "FCREATEORGNAME") 	
	@ApiModelProperty(name = "FCREATEORGNAME" , value = "创建组织名称")
    private String FCREATEORGNAME;
    
    @TableField(value = "FNUMBER") 	
	@ApiModelProperty(name = "FNUMBER" , value = "部门编码")
    private String FNUMBER;
    
    @TableField(value = "FNAME") 	
	@ApiModelProperty(name = "FNAME" , value = "部门名称")
    private String FNAME;
    
    @TableField(value = "FCREATEDATE") 	
	@ApiModelProperty(name = "FCREATEDATE" , value = "创建日期")
    private Date FCREATEDATE;
    
    @TableField(value = "FMODIFYDATE") 	
	@ApiModelProperty(name = "FMODIFYDATE" , value = "修改日期")
    private Date FMODIFYDATE;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
